Moloni\Services\Orders\CreateCreditNote B

Total Complexity 94
Dependencies 14
Dependents 1
Total lines 646
Lines of code 401
Logical lines of code 196
Comment lines 82
Methods 21
Properties 9

Methods 21

Method Rating Maintainability Complexity Lines of code
closeDocument()
A
40 13 58
setProducts()
A
41 11 60
run()
A
40 11 60
setFees()
A
41 11 56
setShipping()
A
47 7 37
tryToMatchProduct()
S
54 6 21
validateDocument()
S
60 6 12
setBasics()
S
53 4 23
shouldSendByEmail()
S
69 4 6
tryToMatchFee()
S
64 4 9
tryToMatchShipping()
S
65 3 9
shouldCloseDocument()
S
78 2 3
validateUnrelatedProducts()
S
74 2 5
getOrderID()
S
72 2 6
getOrderNumber()
S
72 2 6
saveRecord()
S
70 1 6
getResults()
S
82 1 3
getOrder()
S
80 1 3
setStopProcess()
S
81 1 3
saveLog()
S
63 1 10
__construct()
S
72 1 5